package org.wxd.account.api.user.dto;

import java.io.Serializable;

/**
 * @Description:
 * @Copyright: Copyright 2012 ShenZhen DSE Corporation
 * @Company: 深圳市东深电子股份有限公司
 * @Author : wangxd
 * @Date: 2015-11-3
 * @Version 1.0
 */
public class UserMoreInfoRecord implements Serializable{

    private static final long serialVersionUID = 2964717810465095938L;
    private String type;
    private String name;
    private boolean isActive;

    UserMoreInfoRecord() {
    }

    UserMoreInfoRecord(Builder builder) {
        this.type = builder.type;
        this.name = builder.name;
        this.isActive = builder.isActive;
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String type() {
        return type;
    }

    public String name() {
        return name;
    }

    public boolean isActive() {
        return isActive;
    }

    public static class Builder {

        String type;
        String name;
        boolean isActive;

        public Builder type(String type) {
            this.type = type;
            return this;
        }

        public Builder name(String name) {
            this.name = name;
            return this;
        }

        public Builder isActive(boolean isActive) {
            this.isActive = isActive;
            return this;
        }

        public UserMoreInfoRecord build() {
            return new UserMoreInfoRecord(this);
        }

    }
}
